//
//  ReminderViewController.h
//  FootPrint
//
//  Created by alex tao on 4/28/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CountDownPicker.h"

typedef enum {
    eReminderPickMode = 0,
    eReminderModifyMode
} eReminderMode;


@protocol ReminderDelegate <NSObject>

- (BOOL)didSelectSecondBefore:(NSInteger)seconds;

@end


@interface ReminderViewController : UIViewController <CountDownPickerDelegate> {
    
    NSMutableArray *            _presetReminder;
    NSString *                  _indexFile;
    
    CountDownPicker *           _picker;
    NSInteger                   _selIdx;
    
}

@property (assign, nonatomic) id<ReminderDelegate>  reminderDelegate;
@property (assign) eReminderMode                    reminderMode;
@property (retain, nonatomic) IBOutlet UIView *     baseView;
@property (retain, nonatomic) IBOutlet UILabel *    reminderLabel;

- (IBAction)exit:(id)sender;
- (IBAction)pickDate:(id)sender;

- (void) updateTitleWithEvent:(NSString*)eventId andAimedDate:(NSDate*)date;

@end
